<%@ page language="java" pageEncoding="UTF-8"%><%@ include
	file="/WEB-INF/commons/taglibs.jsp"%>
<%@ page import="com.google.appengine.api.users.User"%>
<%@ page import="com.google.appengine.api.users.UserService"%>
<%@ page import="com.google.appengine.api.users.UserServiceFactory"%>
<%
	UserService userService = UserServiceFactory.getUserService();
	User user = userService.getCurrentUser();
%>
<div id="text-menu">
<ul>
	<li>
	<%
		if (user != null) {
	%>Welcome, <%=user.getNickname()%>&nbsp;&nbsp;<a
		href="<%=userService.createLogoutURL(request.getRequestURI())%>">Log&nbsp;out</a>
	<%
		} else {
	%> <a href="<%=userService.createLoginURL(request.getRequestURI())%>">Log&nbsp;in</a>
	<%
		}
	%>&nbsp;&nbsp;<a href="<c:url value="/about" />">About&nbsp;Us</a>&nbsp;&nbsp;<a
		href="<c:url value="/flows/create" />">Share&nbsp;a&nbsp;flow</a>&nbsp;&nbsp;</li>
</ul>
</div>
<!-- <div id="logo"><a href="<c:url value="/" />"><img	src="<c:url value="/images/LF-logo.png" />" /></a></div> -->
